package demo.service;

import demo.entity.User;
import demo.rpc.DemoService;
import jk.fox.annotaion.RpcReference;
import org.springframework.stereotype.Service;

/**
 * @author cuichao
 * @Description: UserService
 * @Date: create in 2020/6/2 21:25
 */
@Service
public class UserService {

    @RpcReference
    private DemoService demoService;

    
    public User getUser(String id) {
        return demoService.getUser(id);
    }

}
